Back to Projects

Tetris Game

Design

Programmed a fully functional Tetris game with customizable gameplay settings, progressive difficulty, and an optimized physics engine using Python and Pygame.

PythonPygameGame DevelopmentUI Design

Project Overview

Sponsored by Sony’s PlayStation division, this project challenged students to combine artificial intelligence with video game design. The result is a block puzzle game inspired by Tetris, where users can upload an image to generate a custom gameboard. If the puzzle becomes too difficult, users can request assistance from an integrated language model (LLM).

Approach & Solution

The game transforms an uploaded image into a gameboard using edge detection. An iterative random walk algorithm then adjusts the board size to generate a specified number of pieces for the puzzle. If the player gives up, a built-in solver uses a brute-force method to complete the board from the current state.

Outcome & Results

The final game received positive feedback from players and earned third place in the PlayStation-sponsored competition.

Project Report

The attached presentation was delivered to secure the third-place award, detailing the game’s features and technical implementation.

Project Details

Timeline

Winter 2025

Role

Developer

Client/Organization

Sony Interactive Entertainment

Project Gallery

Instructions
Diagram
Solved
Diagram

Interested in working together?

If you're interested in learning more about this project or discussing potential collaborations, I'd love to hear from you.